home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group96a.txt
/
000042_icon-group-sender _Fri Feb 9 02:31:59 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-09-05
|
3KB
Received: by cheltenham.cs.arizona.edu; Fri, 9 Feb 1996 09:17:22 MST
To: icon-group@cs.arizona.edu
Date: 09 Feb 1996 02:31:59 +0100
From: Gerhard Brey <G.Brey@lrz.uni-muenchen.de>
Message-Id: <m3hgx1jncg.fsf@ug301ab.ppp.lrz-muenchen.de>
Organization: Institut fuer Geschichte der Naturwissenschafen, Munich, Germany
Sender: icon-group-request@cs.arizona.edu
References: <4fdi85$4b7o@yuma.ACNS.ColoState.EDU>
Subject: Re: Compiling ELF binaries for Linux1.2.13
Errors-To: icon-group-errors@cs.arizona.edu
Status: O
In article <4fdi85$4b7o@yuma.ACNS.ColoState.EDU> millejoh@holly.ColoState.EDU (John Miller) writes:
>
> Greetings all. I'm curious if anybody has had some experience in
> compiling ELF binaries of Icon for linux. Using a.out binaries is of course
> a viable solution, but I would at least like to try getting ELF working
> first. My problem is as follows:
> The gcc compiler is failing when trying to link in the object
> files for icon runtime executable (iconx). It complains of some
> unidentified symbols in rswitch.o -- namely new_context and syserr.
> I realize these are for implementing coexpressions, a feature that
> I can disable, but again I would like to try to get it to work.
> Any suggestions people?
> My setup:
> i486_linux 8MB RAM (486DX33)
> I'm using the RedHat v2.0 elf distribution with X11R6.
>
> Many thanks in advance,
> John
I had the same problems when I tried to compile iconx as ELF
binary. But iconc compiled without problems and works. I would be very
grateful for a solution, too.
The problems occurred with the configuration for i486_linux
(i386_linux didn't work either, but I don't remember why). I guess
(but I am not a C- or Assembler-programmer) that the problem has to do
with the Assembler code in rswitch.s.
Here is my setup:
486DX66, 16MB RAM
Slackware 3.0 ELF
gcc 2.7.0
Here are the error messages:
[...]
gcc -o iconx xcnv.o xdata.o xdef.o xerrmsg.o xextcall.o xfconv.o
xfload.o xfmath.o xfmisc.o xfmonitr.o xfscan.o xfstr.o xfstranl.o xfstruct.o
xfsys.o xfwindow.o ximain.o ximisc.o xinit.o xinterp.o xinvoke.o
xistart.o xkeyword.o xlmisc.o xoarith.o xoasgn.o xocat.o xocomp.o
xomisc.o xoref.o xoset.o xovalue.o xralc.o xrcoexpr.o xrcomp.o
xrdebug.o xrlocal.o xrlrgint.o xrmemmgt.o xrmisc.o xrstruct.o xrsys.o
xrwinrsc.o xrgfxsys.o xrwinsys.o xrwindow.o xfxtra.o ../common/long.o
../common/memory.o ../common/time.o ../common/save.o
../common/rswitch.o ../common/redirerr.o ../common/xwindow.o
../common/alloc.o -L../../bin -lXpm -lX11 -lm
bfd assertion fail /opt/release/pub/bin/binutils/bfd/elf32-i386.c:624
xrcoexpr.o(.text+0x239): undefined reference to `coswitch'
../common/rswitch.o(.text+0x27): undefined reference to `_new_context'
../common/rswitch.o(.text+0x31): undefined reference to `_syserr'
make[3]: *** [iconx] Error 1
[...]
Gerhard
--
............................................................................
Gerhard Brey / Institut fuer Geschichte : ug301ab@sunmail.lrz-muenchen.de
der Naturwissenschaften d. Univ. Muenchen : Tel.: +49 89 2180-3252
Postfach / 80306 Muenchen / Germany : FAX: +49 89 2180-3162